<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/12/24
 * Time: 15:47
 * name:查询机构角色
 * url:/erpEnterpriseStructure/searchRole
 */


$oes_id = $route->restfulParams['oes_id'];

$sql = "SELECT * FROM `art_oa_role` WHERE `is_delete` = 0 AND `or_oesid` = $oes_id  ";

$re=$db->mysqlDB->query($sql);

$rs = array("data" => $re);
//返回成功结果
$response->responseData(true, $rs);
